Intersoft WebTextEditor Documentation
Streamlined Cut, Copy and Paste Operation
See Also Send Feedback
Intersoft WebTextEditor > WebTextEditor > Editing Architecture > Core Editing Features > Streamlined Cut, Copy and Paste Operation

Glossary Item Box

WebTextEditor implements sophisticated clipboard management to address the limitations and different specifications of clipboard in various browsers. Based on how users invoke the clipboard saving operation such as cut and copy, WebTextEditor automatically uses the best approach to manage the clipboard data according to the browser type.

This streamlined clipboard management is crucial to ensuring smooth clipboard operation in various browsers. As such, WebTextEditor manages the clipboard data and decides when it should get the clipboard data from browser, and when it should get from editor's internal cache.

User can perform clipboard operations through the following ways:

  1. Toolbar command
    Operation invoked through toolbar commands for cut and copy operation will use internal cache clipboard management.

    The limitation from this approach is that user cannot paste the clipboard data from editor to other place except to the editor itself.
      
  2. Keyboard shortcut
    Operation invoked through keyboard shortcut for cut and copy operation will use browser default clipboard management.

    When using keyboard shortcut, WebTextEditor will perform both saving mechanism at the same time when cut or copy operation is invoked, this can be achieved by setting EnableKeyboardShortcut property to true.

 

The purpose of this clipboard management is tightly integrated with paste operation.  In paste operation, internal editor's cache of clipboard data will become the first priority to be pasted. If editor's internal cache is empty, WebTexteditor will obtain data from browser's default clipboard.

WebTextEditor also implements automatic sliding expiration for its internal clipboard cache to keep the clipboard data concurrent and latest.

See Also

©2013. All Rights Reserved.